/** *******************************************************************
 * FlexDatabaseManager
 * Copyright (c) 2008 Jonnie Spratley. All Rights Reserved.
 * @author  Jonnie Spratley
 * @contact jonniespratley@gmail.com
 * @internal
 ******************************************************************* */
package com.jonniespratley.flexdatabasemanager.events.accounts
{
	import com.adobe.cairngorm.control.CairngormEvent;
	import com.jonniespratley.flexdatabasemanager.vo.UserVO;
	
	import flash.events.Event;
		
	public final class LoginEvent extends CairngormEvent
	{
		public static const LOGIN_EVENT:String = "LOGIN_EVENT";
	
		public var aUser:UserVO;

		public function LoginEvent( aUser:UserVO )
		{
			super( LOGIN_EVENT );
			this.aUser = aUser;
		}
		
		override public function clone():Event
		{
			return new LoginEvent( aUser );
		}
	}
}